package com.wc.AlgoOJ_train.train1.c0.A016;

import java.util.Scanner;

/**
 * @Author congge
 * @Date 2023/12/25 11:17
 * @description http://43.138.190.70:8888/p/A016
 * http://43.138.190.70:8888/training/6554d232dc9f4e711d9836a0
 */
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();

        while (n-- > 0) {
            int a = sc.nextInt();
            int b = sc.nextInt();
            int c = sc.nextInt();
            if (a + b > c && a + c > b && c + b > a) {
                System.out.println("YES");
            } else {
                System.out.println("NO");
            }
        }
    }
}
